package com.stagepayserver.payserver.config;


import org.springframework.stereotype.Component;

/**
 * @author: yxl
 * @since: 2021-12-27
 **/
@Component
public class AlipayConfig {
    // 作为身份标识的应用ID
    public final static String app_id = "";

    // 商户私钥，您的PKCS8格式RSA2私钥
    public static String merchant_private_key  = "";
    // 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String alipay_public_key = "";
    public static String notify_url = "http://20e6f40631.iask.in:46968/api/pay/callBack";

    // 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String return_url = "http://20e6f40631.iask.in:46968/api/pay/callBack";

    // 签名方式
    public static String sign_type = "RSA2";

    // 字符编码格式
    public static String charset = "utf-8";

    // 支付宝网关
    public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";

    //支付宝网关
    public static String log_path="C:\\";
}
